package com.yl.chainStore.mapper.pay

import com.yl.chainStore.entity.pay.PayOrderCustomerPayLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.pojo.dto.statistical.PayCustomerOrderPayAndRefundLogDto
import com.yl.chainStore.pojo.vo.pay.PayCustomerOrderPayAndRefundLogSelectVo
import com.yl.chainStore.pojo.vo.pay.PayOrderCustomerPayLogSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 * 客户订单付款记录 Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2021-11-21
 */
@Mapper
interface PayOrderCustomerPayLogMapper : BaseMapper<PayOrderCustomerPayLog> {

	/**
	 * 收款记录
	 */
	fun getPayLogList(@Param("vo") vo: PayOrderCustomerPayLogSelectVo): List<PayOrderCustomerPayLog>

	/**
	 * 收款和退款记录
	 */
	fun getPayCustomerOrderPayAndRefundLog(@Param("vo") vo: PayCustomerOrderPayAndRefundLogSelectVo):List<PayCustomerOrderPayAndRefundLogDto>

	/**
	 * 收款和退款记录
	 */
	fun getPayCustomerOrderPayAndRefundLogPage(@Param("page")page: Page<PayCustomerOrderPayAndRefundLogDto>,@Param("vo") vo: PayCustomerOrderPayAndRefundLogSelectVo):Page<PayCustomerOrderPayAndRefundLogDto>

	/**
	 * 导出收款和退款记录
	 */
	fun getPayCustomerOrderPayAndRefundLogExport(@Param("vo") vo: PayCustomerOrderPayAndRefundLogSelectVo):List<PayCustomerOrderPayAndRefundLogDto>



}
